package com.thoughtorigin.service {
public interface ServiceLocator {

    /**
     *
     * @param service
     */
    function addService(service: Service): void;

    /**
     * @param serviceName
     * @param callback is called and returns the found <code>com.thoughtorigin.services.Service</code>
     */
    function locateService(serviceName: String, callback: Function): void;

    function removeService(service: Service): void;

}
}